<template>
  <div >
    <h3 @click="showInfo">学生名称：{{name}}</h3>
    <h3>性别：{{sex}}</h3>
  </div>
</template>

<script>
    import {hunhe} from '../mixin.js'
    export default {
        name:'Student',
        data(){
            return {
                name:'zhangsan',
                sex:'女',
            }
        },
        mixins:[hunhe]
    }
</script>

<style>

</style>